﻿<form role="form">
	<div class="page-header">
		<h2 class="page-title">Вход</h2>
	</div>
	<div class="content-inner">
		<div class="row">
			<!--<div data-ng-hide="message == ''" data-ng-class="(savedSuccessfully) ? 'alert alert-success' : 'alert alert-danger'">
				{{message}}
			</div>-->
		</div>
		<div class="row">
			<div class="col-md-3">
				<label>Имя пользователя</label>
			</div>
			<div class="col-md-9">
				<input type="text" placeholder="Имя пользователя" ng-model="user.name" required autofocus>
			</div>
		</div>
		<div class="row">
			<div class="col-md-3">
				<label>Пароль</label>
			</div>
			<div class="col-md-9">
				<input type="password" placeholder="Пароль" ng-model="user.password" required>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12">
				<button type="submit" ng-click="login()">Вход</button>
			</div>
		</div>
	</div>
</form>